using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace QuanLyTruongHoc_App
{
    public partial class DisplayReport : Form
    {
        public DisplayReport()
        {
            InitializeComponent();
        }

        public void loadInfo()
        {
            // load thong tin nha truong
        }

        private void DisplayReport_Resize(object sender, EventArgs e)
        {
            CRViewer.Width = this.Width;
            CRViewer.Height = this.Height;
        }

        public void ShowReport(Object report)
        {
            CRViewer.ReportSource = report;
            //case ProgramConst.HD_XUATNHAP_NB:
            /*
                    baoCao = new NhaHang.Report.HDXuatNhapNB();
                    ((Report.HDXuatNhapNB)baoCao).SetDataSource(data);
                    ((Report.HDXuatNhapNB)baoCao).Refresh();
                    CRViewer.ReportSource = (Report.HDXuatNhapNB)baoCao;*/
           //         break;

        }

    }
}